package sunwul.mall.business.manager.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import sunwul.mall.business.manager.entity.SysMenu;

import java.util.Set;

/**
 * @author sunwul
 * @date 2025/1/2 13:40
 * @description
 */
@ApiModel("菜单和操作权限对象")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class MenuAndAuth {

    @ApiModelProperty("菜单权限集合")
    public Set<SysMenu> menuList;

    @ApiModelProperty("操作权限集合")
    public Set<String> authorities;
}
